sync.Pool.local (field)
8 uses
sync (current package)
pool.go#L54: local unsafe.Pointer // local fixed-size per-P pool, actual type is [P]poolLocal
pool.go#L163: locals := p.local // load-consume
pool.go#L216: l := p.local // load-consume
pool.go#L232: l := p.local
pool.go#L236: if p.local == nil {
pool.go#L242: atomic.StorePointer(&p.local, unsafe.Pointer(&local[0])) // store-release
pool.go#L272: p.victim = p.local
pool.go#L274: p.local = nil
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |